package com.letian.im.domain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.letian.common.core.domain.model.UsersVO;

import java.util.Date;

public class UsersListInMessageVO extends UsersVO {
    /**
     * 未读条数
     */
    private Integer notViewCount;

    /**
     * 最久发送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    /**
     * 最近的消息
     */
    private String messageContent;

    public Integer getNotViewCount() {
        return notViewCount;
    }

    public void setNotViewCount(Integer notViewCount) {
        this.notViewCount = notViewCount;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }
}
